package com.by.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author ServivE
 * @version 0.1
 * @className LoginStrategy
 * @description
 * @date 2024/12/4 17:45
 * @since jdk17
 */
public interface LoginStrategy {

    /**
     * 真正的登录处理方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
